<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2018/6/15
 * Time: 0:11
 */

use think\Env;

$host = Env::get('host.domain');

return [
    // 微信支付类型
    'default' => 1,//商品默认支付账号
    'coin_default' => 2,//准币默认支付账号
    'mall_default' => 3,//商城默认支付账号
    'custom_default' => 4,//定制报告默认支付账号
    'privatearea_default' => 5, //私域默认支付账号
    'account1' => [//【星座女神】
        'wx_pay_type' => [
            2 => ['type' => 'APP', 'configName' => 'wxpay'],
            6 => ['type' => 'JSAPI', 'configName' => 'wxwebpay'],
            8 => ['type' => 'H5', 'configName' => 'wx_mini_astro_pay'],
            13 => ['type' => 'JSAPI', 'configName' => 'wx_mini_astro_pay'],
            15 => ['type' => 'JSAPI', 'configName' => 'wx_mini_astro_h5_pay'],
        ],
        'wxpay' => [
            'appid' => 'wx1c9d52b9f3ee2a2b',// 应用id
            'mchid' => '1507392241',// 商户号
            'notify_url1' => $host . '/pay/notify/wechat',// 通知地址
            'notify_url2' => $host . '/api/v9/physical_store/notify/wechat',// 通知地址
            'api_key' => 'CNNXav2gggE2RQScnMm4H33jwJXmfsh1',// 商户支付密钥
            'query_url' => 'https://api.mch.weixin.qq.com/pay/orderquery',// 订单查询地址

        ],
        'wxwebpay' => [
            'appid' => 'wx4ea9cf03dda7a675',// 应用id
            'mchid' => '1529602171',// 商户号
            'notify_url1' => $host . '/pay/notify/wechat',// 通知地址
            'notify_url2' => $host . '/api/v9/physical_store/notify/wechat',// 通知地址
            'api_key' => 'zwjWRHWuHin9LcgjCDqp9xRikQnp9181',// 商户支付密钥
            'query_url' => 'https://api.mch.weixin.qq.com/pay/orderquery',// 订单查询地址
        ],
        'wx_mini_astro_pay' => [//星盘小程序支付 - （由于星盘小程序下架了，改为星座小程序）
//            'appid' => 'wx13aa45fb16ed9635',// 原来的微信小程序-准了星盘-应用id
//            'mchid' => '1507392241',// 原来的微信小程序-准了星盘-商户号
            'appid' => 'wx59fbe2fcd142f583',// （换壳）微信小程序-准了星座-应用id
            'mchid' => '1507392241',// （换壳）微信小程序-准了星座-商户号
            'notify_url1' => $host . '/pay/notify/wechat',// 通知地址
            'notify_url2' => $host . '/api/v9/physical_store/notify/wechat',// 通知地址
            'api_key' => 'CNNXav2gggE2RQScnMm4H33jwJXmfsh1',// 商户支付密钥
            'query_url' => 'https://api.mch.weixin.qq.com/pay/orderquery',// 订单查询地址
        ],
        'wx_mini_astro_h5_pay' => [//星盘小程序H5 在微信浏览器调用JSAPI  支付
            'appid' => 'wx4ea9cf03dda7a675',// 应用id
            'mchid' => '1507392241',// 商户号
            'notify_url1' => $host . '/pay/notify/wechat',// 通知地址
            'notify_url2' => $host . '/api/v9/physical_store/notify/wechat',// 通知地址
            'api_key' => 'CNNXav2gggE2RQScnMm4H33jwJXmfsh1',// 商户支付密钥
            'query_url' => 'https://api.mch.weixin.qq.com/pay/orderquery',// 订单查询地址
        ],
    ],
    // 准币充值
    'account2' => [//【准了科技】
        'wx_pay_type' => [
            2 => ['type' => 'APP', 'configName' => 'wxpay'],
            6 => ['type' => 'JSAPI', 'configName' => 'wxwebpay'],
            8 => ['type' => 'H5', 'configName' => 'wxwebpay'],
        ],
        'wxpay' => [
            'appid' => 'wx1c9d52b9f3ee2a2b',// 应用id
            'mchid' => '1571785451',// 商户号
            'notify_url1' => $host . '/pay/notify/wechat',// 通知地址
            'notify_url2' => $host . '/api/v9/physical_store/notify/wechat',// 通知地址
            'api_key' => 'nhliRjIC7OPWYBQ8TBTHo0G0eqDg00xA',// 商户支付密钥
            'query_url' => 'https://api.mch.weixin.qq.com/pay/orderquery',// 订单查询地址

        ],
        'wxwebpay' => [
            'appid' => 'wx4ea9cf03dda7a675',// 应用id
            'mchid' => '1529602171',// 商户号
            'notify_url1' => $host . '/pay/notify/wechat',// 通知地址
            'notify_url2' => $host . '/api/v9/physical_store/notify/wechat',// 通知地址
            'api_key' => 'zwjWRHWuHin9LcgjCDqp9xRikQnp9181',// 商户支付密钥
            'query_url' => 'https://api.mch.weixin.qq.com/pay/orderquery',// 订单查询地址
        ],
    ],
    //【星座女神】实物商品支付
    'account3' => [
        'wx_pay_type' => [
            2 => ['type' => 'APP', 'configName' => 'wxpay'],
            6 => ['type' => 'JSAPI', 'configName' => 'wxwebpay'],
            8 => ['type' => 'H5', 'configName' => 'wx_mini_astro_pay'],
            13 => ['type' => 'JSAPI', 'configName' => 'wx_mini_astro_pay'],
        ],
        'wxpay' => [
            'appid' => 'wx1c9d52b9f3ee2a2b',// 应用id
            'mchid' => '1494228942',// 商户号
            'notify_url1' => $host . '/pay/notify/wechat',// 通知地址
            'notify_url2' => $host . '/api/v9/physical_store/notify/wechat',// 通知地址
            'api_key' => '3wUkqyOhq46zKZ4JrsSPWC6C4qPUiMvu',// 商户支付密钥
            'query_url' => 'https://api.mch.weixin.qq.com/pay/orderquery',// 订单查询地址

        ],
        'wxwebpay' => [
            'appid' => 'wx4ea9cf03dda7a675',// 应用id
            'mchid' => '1529602171',// 商户号
            'notify_url1' => $host . '/pay/notify/wechat',// 通知地址
            'notify_url2' => $host . '/api/v9/physical_store/notify/wechat',// 通知地址
            'api_key' => 'zwjWRHWuHin9LcgjCDqp9xRikQnp9181',// 商户支付密钥
            'query_url' => 'https://api.mch.weixin.qq.com/pay/orderquery',// 订单查询地址
        ],
        'wx_mini_astro_pay' => [//星盘小程序支付
            'appid' => 'wx13aa45fb16ed9635',// 应用id
            'mchid' => '1507392241',// 商户号
            'notify_url1' => $host . '/pay/notify/wechat',// 通知地址
            'notify_url2' => $host . '/api/v9/physical_store/notify/wechat',// 通知地址
            'api_key' => 'CNNXav2gggE2RQScnMm4H33jwJXmfsh1',// 商户支付密钥
            'query_url' => 'https://api.mch.weixin.qq.com/pay/orderquery',// 订单查询地址
        ],
    ],
    //【星座女神】占星师平台
    'account4' => [
        'wx_pay_type' => [
            2 => ['type' => 'APP', 'configName' => 'wxpay'],
            6 => ['type' => 'JSAPI', 'configName' => 'wxwebpay'],
            8 => ['type' => 'H5', 'configName' => 'wx_mini_astro_pay'],
            13 => ['type' => 'JSAPI', 'configName' => 'wx_mini_astro_pay'],
        ],
        'wxpay' => [
            'appid' => 'wx1c9d52b9f3ee2a2b',// 应用id
            'mchid' => '1529602171',// 商户号
            'notify_url1' => $host . '/pay/notify/wechat',// 通知地址
            'notify_url2' => $host . '/api/v9/physical_store/notify/wechat',// 通知地址
            'api_key' => 'zwjWRHWuHin9LcgjCDqp9xRikQnp9181',// 商户支付密钥
            'query_url' => 'https://api.mch.weixin.qq.com/pay/orderquery',// 订单查询地址
            'cert_path' => ROOT_PATH . 'apiclient_cert.pem',//退款证书路径
            'key_path' => ROOT_PATH . 'apiclient_key.pem',// 退款key路径

        ],
        'wxwebpay' => [
            'appid' => 'wx4ea9cf03dda7a675',// 应用id
            'mchid' => '1529602171',// 商户号
            'notify_url1' => $host . '/pay/notify/wechat',// 通知地址
            'notify_url2' => $host . '/api/v9/physical_store/notify/wechat',// 通知地址
            'api_key' => 'zwjWRHWuHin9LcgjCDqp9xRikQnp9181',// 商户支付密钥
            'query_url' => 'https://api.mch.weixin.qq.com/pay/orderquery',// 订单查询地址
        ],
        'wx_mini_astro_pay' => [//星盘小程序支付
            'appid' => 'wx13aa45fb16ed9635',// 应用id
            'mchid' => '1507392241',// 商户号
            'notify_url1' => $host . '/pay/notify/wechat',// 通知地址
            'notify_url2' => $host . '/api/v9/physical_store/notify/wechat',// 通知地址
            'api_key' => 'CNNXav2gggE2RQScnMm4H33jwJXmfsh1',// 商户支付密钥
            'query_url' => 'https://api.mch.weixin.qq.com/pay/orderquery',// 订单查询地址
        ],
    ],
    //【星座女神】私域支付
    'account5' => [
        'wx_pay_type' => [
            6 => ['type' => 'JSAPI', 'configName' => 'wxwebpay'],
            8 => ['type' => 'H5', 'configName' => 'wxwebpay'],
        ],
        'wxwebpay' => [// 商家简称 星座女神平台
            'appid' => 'wx4ea9cf03dda7a675',// 应用id
            'mchid' => '1622471667',// 商户号
            'notify_url1' => $host . '/pay/notify/wechat',// 通知地址
            'notify_url2' => $host . '/api/v9/physical_store/notify/wechat',// 通知地址
            'api_key' => 'jHieVoA8uebV3akhpYK65JRxZIIOct8S',// 商户支付密钥
            'query_url' => 'https://api.mch.weixin.qq.com/pay/orderquery',// 订单查询地址
        ],
    ],
    //【金木技术】私域支付
    'account6' => [
        'wx_pay_type' => [
            6 => ['type' => 'JSAPI', 'configName' => 'wxwebpay'],
            8 => ['type' => 'H5', 'configName' => 'wxwebpay'],
        ],
        'wxwebpay' => [// 商家简称 金木技术
            'appid' => 'wx4ea9cf03dda7a675',// 应用id
            'mchid' => '1643134535',// 商户号
            'notify_url1' => $host . '/pay/notify/wechat',// 通知地址
            'notify_url2' => $host . '/api/v9/physical_store/notify/wechat',// 通知地址
            'api_key' => 'MbhGJLCuxkq0KZgZoIaU4b3XCmM6u0so',// 商户支付密钥   #apiv3      0hPZsCCx45GcEJe2FEZwh6OuXk7nOnbE
            'query_url' => 'https://api.mch.weixin.qq.com/pay/orderquery',// 订单查询地址
        ],
    ],
];
